lcWndWaitPoint Home

Waits until user pick a point on a screen. While user moves a mouse, until a left button click, the function generates event LC_EVENT_WAITPOINT.

 BOOL lcWndWaitPoint (
   HANDLE hLcWnd,
   LPCWSTR szText,
   double* pXdrw,
   double* pYdrw
 );

Parameters
hLcWnd
  Handle to LiteCAD graphics window.
szText
  Text that will be displayed near cursor.
pXdrw pYdrw
  Pointers to variables that will receive drawing's coordinates of the point picked by user.

Return Value

  If the function succeeds, the return value is nonzero (TRUE).

See Also

  Code sample